package com.java.al.string;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStreamReader;

public class ReadLine {
	public static void main(String[] args) {
		try {
			BufferedReader br = new BufferedReader(new FileReader("E:/My/workspace/AL/TestJava/src/stringtest/aa.txt"));
//			BufferedWriter bw = new BufferedWriter(new FileWriter("E:/eclipse/YKST/TestJava/src/stringtest/aa.txt"));

			
			/*int b; 
			while((b = br.read())!=-1) {
			System.out.print((char)b);
			} */ // A
			
			String line = "";
			String s = "";
			   while((line = br.readLine())!=null){
				   s ="\"" + line +"\" +";
				   System.out.println(s);
//				   bw.write( line );
//				   bw.newLine();
			     
			   }   
//			bw.flush(); 
//			bw.close(); 
//			String s = "";
//			boolean b = true;
//			while(b) {
//				System.out.println( br.readLine() );
//				if(br.readLine()==null){
//					b = false;
//					continue;
//				}
//				s = "\"	";
//				s += br.readLine();
//				s += "\" +	";
////				System.out.println(s);
//			}
			br.close();
			} catch (IOException e) {
			e.printStackTrace();
			}
			
	}
}
